﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HeathCareSystem
{
    public class BenhNhanTrongNgayV
    {
        BenhNhanTrongNgayDTO _bn;
        public string MaPhieuKham { get { return _bn.maSoKhamBenh; } }
        public string HoTen { get { return _bn.BenhNhan.hoTen; } }
        public string NgaySinh { get { return string.Format("{0:dd/MM/yyyy}", _bn.BenhNhan.ngaySinh); } }
        public string GioiTinh { get { return _bn.BenhNhan.gioiTinh; } }
        public string DiaChi { get { return _bn.BenhNhan.diaChi; } }
        public string QueQuan { get { return _bn.BenhNhan.queQuan; } }
        public string SoDienThoai { get { return _bn.BenhNhan.soDienThoai; } }

        public BenhNhanTrongNgayV(BenhNhanTrongNgayDTO bn)
        {
            _bn = bn;
        }
    }
}